﻿using System;
using System.Collections;
using System.Collections.Generic;
using EzFrameWork;
using LitJson;
using UnityEngine;
using UnityEngine.Networking;
public class WeatherTestCode : MonoBehaviour {

	void Start () {
		WeatherData weatherData = Weather.CreateWeatherData (WeatherID.GetWeatherID ("长春"));
		Debug.Log (weatherData.GetWeather ());
		Weather.GetWeather (WeatherID.GetWeatherID ("长春"), e => {
			Debug.Log (e.weatherinfo.temp);
		});
	}

	void Update () {

	}
}